
export default function judgeRoute(qq, IDDD, name, nameid) {
  //判断参数有无，有无访问权限
  if (qq) {
    return this.ID = `${this.ID}:${qq}`
  } else if (IDDD) {
    return this.ID = `${this.ID}:${IDDD}`
  } else if (nameid || name) {
    return this.ID = `${this.ID}:${name}` || `${this.ID}:${nameid}`
  }
  else {
    this.$router.push('/hellow')
    return alert('抱歉，参数为空，不能访问')
  }
}